package com.tsing.bms.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.tsing.bms.entity.Unit;
import com.tsing.bms.vo.req.IdReqVo;
import com.tsing.bms.vo.req.IdsReqVo;
import com.tsing.bms.vo.req.UnitAddReqVo;
import com.tsing.bms.vo.req.UnitUpdateReqVo;
import com.tsing.bms.vo.resp.UnitRespVo;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author TheTsing
 * @since 2021-03-29
 */
public interface IUnitService extends IService<Unit> {

    void addUnit(UnitAddReqVo reqVo);

    void deleteUnit(IdsReqVo reqVo);

    UnitRespVo getUnitById(IdReqVo reqVo);

    void updateUnit(UnitUpdateReqVo reqVo);

    List<UnitRespVo> unitList();

}
